package com.itheima.properties;//package com.sky.properties;
//
//import io.minio.MinioClient;
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.NoArgsConstructor;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.context.annotation.Bean;
//import org.springframework.stereotype.Component;
//
////@Component
////@ConfigurationProperties(prefix = "minio")
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
//public class MinioProperties {
//    private String endpoint;
//    private String accessKey;
//    private String secretKey;
//    private String bucketName;
//    @Bean
//    public MinioClient minioClient() {
//        return MinioClient.builder()
//                .endpoint(endpoint)
//                .credentials(accessKey, secretKey)
//                .build();
//    }
//
//}
